void CArrayView::OnDraw(CDC* pDC)
{
	CArrayDoc* pDoc = GetDocument();
	ASSERT_VALID(pDoc);
	// TODO: add draw code for native data here
	// Get the current font's height.
	TEXTMETRIC textMetric;
	pDC->GetTextMetrics(&textMetric);
	int fontHeight = textMetric.tmHeight;
	// Get the size of the array. 
	int count = m_strArray.GetSize();
	int displayPos = 10;
	// Display the array data.
	for (int x=0; x<count; ++x)
	{
		CString strValue = m_strArray.GetAt(x);
		pDC->TextOut(10, displayPos, strValue);
		displayPos += fontHeight;
	}
}
